package com.lianxi.pojo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import javafx.scene.text.FontWeight;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SyxUser {
    /**
     * value: 表头名称
     * index: 列的号, 0表示第一列
     */
    @ExcelProperty(value = "姓名", index = 0)
    @ColumnWidth(15)
    @ContentFontStyle(fontHeightInPoints = 14)  //设置字体大小
    private String name;

    @ExcelProperty(value = "手机号",index = 1)
    @ColumnWidth(20)
    private String phone;

    @ExcelProperty(value = "密码",index = 2)
    @ColumnWidth(20)
    private String password;




}
